home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000213_ekimble@wfl.fha.dot.gov_Tue Jan 14 11:34:18 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  74 lines

  1. Article: 14003 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!newsfeed.vmunix.org!newspeer1-gui.server.ntli.net!ntli.net!sn-xit-02!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
  3. From: Eric Kimble <ekimble@wfl.fha.dot.gov>
  4. Newsgroups: comp.databases.oracle.server,comp.security.ssh,comp.terminals,comp.protocols.kermit.misc
  5. Subject: Re: Strange behavior with SQLPLUS (Oracle)
  6. Date: Tue, 14 Jan 2003 08:15:35 -0800
  7. Organization: Posted via Supernews, http://www.supernews.com
  8. Message-ID: <3E2437A7.8FBD4FB7@wfl.fha.dot.gov>
  9. X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
  10. X-Accept-Language: en
  11. MIME-Version: 1.0
  12. References: <a8c29269.0301140753.7ee5175c@posting.google.com>
  13. Content-Type: text/plain; charset=us-ascii
  14. Content-Transfer-Encoding: 7bit
  15. X-Complaints-To: abuse@supernews.com
  16. Lines: 55
  17. Xref: newsmaster.cc.columbia.edu comp.databases.oracle.server:214778 comp.security.ssh:30772 comp.terminals:17733 comp.protocols.kermit.misc:14003
  18.  
  19. Roger:
  20. In SQL*Plus, when only wanting to look at a portion of the column you need to
  21. tell the environment to only show the portion that you want. issue a statement
  22. like the following on the SQL*Plus command line
  23.  
  24. column table_name format a30.
  25.  
  26. Then read up on column formatting in the documentation at tahiti.oracle.com
  27.  
  28. Roger Redford wrote:
  29.  
  30. > I've recently moved to a new environment, and I'm getting some strange
  31. > symptoms with sqlplus.  The environment is:
  32. >
  33. > Oracle 9.2, on solaris
  34. > Ibm thinkpad laptop
  35. > Smarterm and Putty
  36. >
  37. > I've used both Smarterm and Putty to connect to unix and use sqlplus.  It is
  38. > using SSH, but the symptoms occur whether I am just using telnet, or ssh.
  39. >
  40. > The symptom is:
  41. >
  42. > When do I select some long columns, such as TABLE_OWNER,
  43. > OR table_name, the field takes up a whole line.
  44. >
  45. > IE.
  46. >
  47. > Select  table_owner ,
  48. >                 table_name  ,
  49. >                 partition_name,
  50. >                 NUM_ROWS,
  51. >                 LAST_ANALYZED
  52. > from            all_tab_partitions
  53. > where           NUM_ROWS = 0
  54. > ORDER BY        TABLE_OWNER,
  55. >                 TABLE_NAME,
  56. >                 PARTITION_NAME
  57. >
  58. > I have tried:
  59. > set linesize 30000
  60. > substr(table_owner, 1, 20) as table_owner
  61. >
  62. > Yet, no matter what I do, the symptoms persist.
  63. >
  64. > Set wrap is on.  If I set it off, I will only see the first field.
  65. >
  66. > The crazy thing is, that my neighbors' sqlplus works normally,
  67. > and only returns 30 or less columns.
  68. >
  69. > Is there a setting that I should be concerned about?  Is it in
  70. > sqlplus, or in the client software (Putty, or Smarterm)?
  71. >
  72. > Thanks
  73.  
  74.